package com.example.Windturbine.Service;

import com.example.Windturbine.DataObject.ProductInfoDO;
import com.example.Windturbine.Error.BusinessException;
import com.example.Windturbine.Response.CommonResult;
import com.example.Windturbine.Service.Model.ProductModel;

import java.util.List;

/**
 * @Author 丁永新
 * @Date 2021/12/18
 */
public interface FunctionService {
    List<ProductModel> getAll() throws BusinessException;

    List<String> getUserFunctionInfo(Integer userid) throws BusinessException;

    CommonResult queryFunctionGraphInfo(String function,Integer userid) throws BusinessException;

    List<ProductInfoDO> queryFunctionListInfo(String function,Integer userid) throws BusinessException;
}
